package cn.stylefeng.guns.sys.modular.interfaceList.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.interfaceList.entity.Interfacelist;
import cn.stylefeng.guns.sys.modular.interfaceList.model.params.InterfacelistParam;
import cn.stylefeng.guns.sys.modular.interfaceList.model.result.InterfacelistResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 接口列表  服务类
 * </p>
 *
 * @author author
 * @since 2020-08-26
 */
public interface InterfacelistService extends IService<Interfacelist> {

    /**
     * 新增
     *
     * @author author
     * @Date 2020-08-26
     */
    void add(InterfacelistParam param);

    /**
     * 删除
     *
     * @author author
     * @Date 2020-08-26
     */
    void delete(InterfacelistParam param);

    /**
     * 更新
     *
     * @author author
     * @Date 2020-08-26
     */
    void update(InterfacelistParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author author
     * @Date 2020-08-26
     */
    InterfacelistResult findBySpec(InterfacelistParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author author
     * @Date 2020-08-26
     */
    List<InterfacelistResult> findListBySpec(InterfacelistParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author author
     * @Date 2020-08-26
     */
     LayuiPageInfo findPageBySpec(InterfacelistParam param);

}
